<?

	$oMenu = new Menu('body', 'menu1', 'menu1', true);
	$oMenu->setMuestraSelector(true, 'color:#9a0000;');
	$cSql = "SELECT ncMenu, cdMenu, cUrl, bExpandido, cDescripcion FROM gtMenu WHERE ncEstadoPublicacion = 2 AND ncMenuPadre = 1";
	$oRs = $this->oDatabase->recordset($cSql);
	while ( $oRs->moveNext() )
	{
		$cUrl = substr($oRs->aFields['cUrl'], 0, 7) == 'http://' ? $oRs->aFields['cUrl'] : '?' . $oRs->aFields['cUrl'] . '&amp;ncMenu=' . $oRs->aFields['ncMenu'];
		$oMenu->addItem( extractLanguage( $oRs->aFields['cdMenu'], $this->getLanguage()) , $cUrl, 'body', $oRs->aFields['cDescripcion'], $oRs->aFields['bExpandido'] );
	}
?>
<?	if ( $cRefresh != 'head' ) echo "<div id='head' >"; ?>
	<div style='float: left;background-image: url(./imagenes/logo.jpg); height: 141px; width: 197px;'></div>
	<div style='float: left;background-image: url(./imagenes/fondo.jpg); height: 116px; width: 603px;'></div>
	<div style='float: left;background-color: #c8a331;height: 24px; width: 603px;'>
	<? $oMenu->make(MENU_HTML); ?>
	</div>
<?
	if ( $cRefresh != 'head' ) echo "</div>";
?>
